package create_pattern.factory.abstract_factory;

/**
 * @author fly
 * @data 2022-03-29
 * 抽象工厂，具体工厂，创建一个产品族
 */
public class IntelFactory implements AssembleFactory{
    @Override
    public Cpu createCpu() {
        return new CpuIntel();
    }

    @Override
    public Screen createScreen() {
        return new ScreenIntel();
    }
}